package com.example.project.entity;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.example.project.annotation.Excel;
import com.example.project.core.domain.BaseEntity;

/**
 * 问题优先级对象 t_issue_priorities
 * 
 * @author ruoyi
 * @date 2025-10-28
 */
public class IssuePrioritie extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Long id;

	/** 优先级名称 */
	@Excel(name = "优先级名称")
	private String name;

	/** 排序位置 */
	@Excel(name = "排序位置")
	private Long position;

	/** 是否可用 */
	@Excel(name = "是否可用")
	private Long active;

	/** 是否默认优先级 */
	@Excel(name = "是否默认优先级")
	private Long isDefault;

	/** 优先级位置名称 */
	@Excel(name = "优先级位置名称")
	private String listClass;

	/** 状态颜色（十六进制） */
	@Excel(name = "状态颜色", readConverterExp = "十=六进制")
	private String htmlColor;

	/** 删除标志（0：正常，1：删除） */
	private Long delFlag;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPosition(Long position) {
		this.position = position;
	}

	public Long getPosition() {
		return position;
	}

	public void setActive(Long active) {
		this.active = active;
	}

	public Long getActive() {
		return active;
	}

	public void setIsDefault(Long isDefault) {
		this.isDefault = isDefault;
	}

	public Long getIsDefault() {
		return isDefault;
	}

	public String getListClass() {
		return listClass;
	}

	public void setListClass(String listClass) {
		this.listClass = listClass;
	}

	public void setHtmlColor(String htmlColor) {
		this.htmlColor = htmlColor;
	}

	public String getHtmlColor() {
		return htmlColor;
	}

	public void setDelFlag(Long delFlag) {
		this.delFlag = delFlag;
	}

	public Long getDelFlag() {
		return delFlag;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("name", getName())
				.append("position", getPosition()).append("active", getActive()).append("isDefault", getIsDefault())
				.append("listClass", getListClass()).append("htmlColor", getHtmlColor())
				.append("delFlag", getDelFlag()).append("createBy", getCreateBy()).append("createdTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updatedTime", getUpdateTime()).toString();
	}
}
